import axios from '../utils/axiosUtils'

// export const accountAdd = (data) => axios.post('/users/accountadd', data)
//登录
export const login = (data) => axios.post('/login', data)
//商铺入驻
export const settleIn=(data)=>axios.post('/gen/apply/shop',data)
//是否注册
export const tel=(data)=>axios.get(`/gen/apply/shop/tel/${data}`)
//店铺名是否注册
export const shopname=(data)=>axios.get(`/gen/apply/shop/shopname/${data}`)


// http://xawn.f3322.net:8012/gen/apply/shop/shopname/${shopname}
// http://xawn.f3322.net:8012/gen/apply/shop/tel/${tel}
